package edu.nwpu.zya.coreops.modules.monitor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.nwpu.zya.coreops.common.utils.PageUtils;
import edu.nwpu.zya.coreops.modules.monitor.entity.MetricEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author zhouyuang
 * @email 742025491@qq.com
 * @date 2022-04-18 22:48:27
 */
public interface MetricService extends IService<MetricEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<MetricEntity> getEcsMetricsByInstanceId(String instanceId);

    List<MetricEntity> getRdsMetricsByInstanceId(String instanceId);

    List<MetricEntity> getAppMetricsByInstanceId(String instanceId);
}

